#include <iostream>
#include <stdio.h>
#include "Line.h"
using namespace std;

int main()
{
	Line line;
	Point point1(1, 1, 1);
	Point point2(4, 3, 90);
	

	// LINE
	vector<Point> points;
	points=line.MakeLine(point1, point2);
	

	
	cout << "The 10 points between " << point1.x << " " <<  point1.y << " " << point1.z << " and " << point2.x << " " <<  point2.y << " " << point2.z << " are"<< endl ;
	for (int i=0; i<points.size(); i++)
	{
	cout <<	"\n" << points.at(i).x << " " << points.at(i).y<< " " << points.at(i).z<< "\n" << endl;
	}



	// ARC
	
	vector<Point> pointsArc;
	float radius(10);
	float degreeArc(60);
	float degreeInt(30);
	float degreeTilt(10);
	int numPoints(60);

	Point start(3,0,0);

	// for MakeArc work properly NEED       degreeArc<numPoints  ****

	
	pointsArc=line.MakeArc(start, radius, degreeArc, degreeInt, degreeTilt, numPoints);

	cout << "The " << numPoints <<" points on arc starting from " << start.x << " " <<  start.y << " " << start.z << " are"<< endl ;
	for (int i=0; i<pointsArc.size(); i++)
	{
	cout <<	"\n" << pointsArc.at(i).x << " " << pointsArc.at(i).y<< " " << pointsArc.at(i).z<< endl;
	}


	system("pause");
	return 0;
}
